package com.medical.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.medical.common.core.domain.Result;
import com.medical.manage.domain.Appraise;
import com.medical.manage.domain.vo.AppraiseVo;

import java.util.List;

public interface AppraiseService extends IService<Appraise> {
    /**
     * 评价医生
     * @param appraiseVo
     * @return
     */
    Result appraiseDoctor(AppraiseVo appraiseVo);

    /**
     * 患者评价
     * @return
     */
    Result<List<AppraiseVo>> getPatientAppraise();

    /**
     * 医生回复
     * @param appraiseVo
     * @return
     */
    Result doctorReply(AppraiseVo appraiseVo);
}
